package cn.com.xcf.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TCheckIncome implements Serializable {
    private Long id;

    private String checkCode;

    private String checkDept;

    private String checkDeptName;

    private String checkerId;

    private String checkerName;

    private Date checkDate;

    private BigDecimal checkAmount;

	private BigDecimal checkRmbAmount;
    
    private BigDecimal checkUsdAmount;
    
    private String cornUnit;

    private Date createDate;

    private String updateBy;

    private Date updateTime;

    private String status;

	private String invoice_app_code;
	
    public String getInvoice_app_code() {
		return invoice_app_code;
	}

	public void setInvoice_app_code(String invoice_app_code) {
		this.invoice_app_code = invoice_app_code;
	}

    

	
   

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public String getCheckDept() {
        return checkDept;
    }

    public void setCheckDept(String checkDept) {
        this.checkDept = checkDept;
    }

    public String getCheckDeptName() {
        return checkDeptName;
    }

    public void setCheckDeptName(String checkDeptName) {
        this.checkDeptName = checkDeptName;
    }

    public String getCheckerId() {
        return checkerId;
    }

    public void setCheckerId(String checkerId) {
        this.checkerId = checkerId;
    }

    public String getCheckerName() {
        return checkerName;
    }

    public void setCheckerName(String checkerName) {
        this.checkerName = checkerName;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public BigDecimal getCheckAmount() {
        return checkAmount;
    }

    public void setCheckAmount(BigDecimal checkAmount) {
        this.checkAmount = checkAmount;
    }
    
    public BigDecimal getCheckRmbAmount() {
  		return checkRmbAmount;
  	}

  	public void setCheckRmbAmount(BigDecimal checkRmbAmount) {
  		this.checkRmbAmount = checkRmbAmount;
  	}

  	public BigDecimal getCheckUsdAmount() {
  		return checkUsdAmount;
  	}

  	public void setCheckUsdAmount(BigDecimal checkUsdAmount) {
  		this.checkUsdAmount = checkUsdAmount;
  	}

    public String getCornUnit() {
        return cornUnit;
    }

    public void setCornUnit(String cornUnit) {
        this.cornUnit = cornUnit;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", checkId=").append(checkCode);
        sb.append(", checkDept=").append(checkDept);
        sb.append(", checkDeptName=").append(checkDeptName);
        sb.append(", checkerId=").append(checkerId);
        sb.append(", checkerName=").append(checkerName);
        sb.append(", checkDate=").append(checkDate);
        sb.append(", checkAmount=").append(checkAmount);
        sb.append(", cornUnit=").append(cornUnit);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", status=").append(status);
        sb.append(", invoice_app_code=").append(invoice_app_code);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TCheckIncome other = (TCheckIncome) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getCheckCode() == null ? other.getCheckCode() == null : this.getCheckCode().equals(other.getCheckCode()))
            && (this.getCheckDept() == null ? other.getCheckDept() == null : this.getCheckDept().equals(other.getCheckDept()))
            && (this.getCheckDeptName() == null ? other.getCheckDeptName() == null : this.getCheckDeptName().equals(other.getCheckDeptName()))
            && (this.getCheckerId() == null ? other.getCheckerId() == null : this.getCheckerId().equals(other.getCheckerId()))
            && (this.getCheckerName() == null ? other.getCheckerName() == null : this.getCheckerName().equals(other.getCheckerName()))
            && (this.getCheckDate() == null ? other.getCheckDate() == null : this.getCheckDate().equals(other.getCheckDate()))
            && (this.getCheckAmount() == null ? other.getCheckAmount() == null : this.getCheckAmount().equals(other.getCheckAmount()))
            && (this.getCornUnit() == null ? other.getCornUnit() == null : this.getCornUnit().equals(other.getCornUnit()))
            && (this.getCreateDate() == null ? other.getCreateDate() == null : this.getCreateDate().equals(other.getCreateDate()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCheckCode() == null) ? 0 : getCheckCode().hashCode());
        result = prime * result + ((getCheckDept() == null) ? 0 : getCheckDept().hashCode());
        result = prime * result + ((getCheckDeptName() == null) ? 0 : getCheckDeptName().hashCode());
        result = prime * result + ((getCheckerId() == null) ? 0 : getCheckerId().hashCode());
        result = prime * result + ((getCheckerName() == null) ? 0 : getCheckerName().hashCode());
        result = prime * result + ((getCheckDate() == null) ? 0 : getCheckDate().hashCode());
        result = prime * result + ((getCheckAmount() == null) ? 0 : getCheckAmount().hashCode());
        result = prime * result + ((getCornUnit() == null) ? 0 : getCornUnit().hashCode());
        result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        return result;
    }
}